Platform Explorer / Nuxeo Platform LTS 2015 7.10

Component org.nuxeo.ecm.platform.publisher.task.contrib

Contributions

XML Source

<?xml version="1.0"?>

<component name="org.nuxeo.ecm.platform.publisher.task.contrib">

 <require>org.nuxeo.ecm.platform.publisher.contrib</require>

  <extension
      target="org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl"
      point="factory">

    <publishedDocumentFactory name="CoreProxyWithWorkflow"
                              class="org.nuxeo.ecm.platform.publisher.task.CoreProxyWithWorkflowFactory"
                              validatorsRule="CoreValidatorsRule"/>

  </extension>

  <extension
      target="org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl"
      point="treeInstance">

    <publicationTreeConfig name="DefaultSectionsTree" tree="RootSectionsCoreTree"
                           factory="CoreProxyWithWorkflow" localSectionTree="true"
                           title="label.publication.tree.local.sections">
      <parameters>
        <!-- <parameter name="RootPath">/default-domain/sections</parameter> -->
        <parameter name="RelativeRootPath">/sections</parameter>
        <parameter name="enableSnapshot">true</parameter>
        <parameter name="iconExpanded">/icons/folder_open.gif</parameter>
        <parameter name="iconCollapsed">/icons/folder.gif</parameter>
      </parameters>
    </publicationTreeConfig>

  </extension>

</component>